package com.flyco.modules.oms.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 京东到家计费明细
 * @Author: flyco
 * @Date:   2021-10-09
 * @Version: V1.0
 */
@Data
@TableName("oms_jddj_order_bill")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="oms_jddj_order_bill对象", description="京东到家计费明细")
public class OmsJddjOrderBill {
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Long id;
	@Excel(name = "jddj_order表id，也是oms_order表的id", width = 15)
	@ApiModelProperty(value = "jddj_order表id，也是oms_order表的id")
	private String jddjOrderId;
	/**京东到家订单id*/
	@Excel(name = "京东到家订单id", width = 15)
    @ApiModelProperty(value = "京东到家订单id")
	private Long orderId;
	/**订单货款结算状态0 未计费、1计费未结算、2 已结算*/
	@Excel(name = "订单货款结算状态0 未计费、1计费未结算、2 已结算", width = 15)
    @ApiModelProperty(value = "订单货款结算状态0 未计费、1计费未结算、2 已结算")
	private Integer googsSettlementStatus;
	/**货款(商品实际支付金额)*/
	@Excel(name = "货款(商品实际支付金额)", width = 15)
    @ApiModelProperty(value = "货款(商品实际支付金额)")
	private Long goodsBill;
	/**货款佣金= (用户支付的sku的实际金额+到家承担的市场费+餐盒费)*扣点*/
	@Excel(name = "货款佣金= (用户支付的sku的实际金额+到家承担的市场费+餐盒费)*扣点", width = 15)
    @ApiModelProperty(value = "货款佣金= (用户支付的sku的实际金额+到家承担的市场费+餐盒费)*扣点")
	private Long goodsCommissionBill;
	/**运费=商家自配送费-商家支付小费-商家支付远距离运费-商家承担运费补贴*/
	@Excel(name = "运费=商家自配送费-商家支付小费-商家支付远距离运费-商家承担运费补贴", width = 15)
    @ApiModelProperty(value = "运费=商家自配送费-商家支付小费-商家支付远距离运费-商家承担运费补贴")
	private Long freightBill;
	/**运费佣金（如果是达达配送则没有运费佣金，否则是运费（不含取件服务费）*扣点）*/
	@Excel(name = "运费佣金（如果是达达配送则没有运费佣金，否则是运费（不含取件服务费）*扣点）", width = 15)
    @ApiModelProperty(value = "运费佣金（如果是达达配送则没有运费佣金，否则是运费（不含取件服务费）*扣点）")
	private Long freightCommissionBill;
	/**保底佣金补差（单位：元）*/
	@Excel(name = "保底佣金补差（单位：元）", width = 15)
    @ApiModelProperty(value = "保底佣金补差（单位：元）")
	private Long difflessCommision;
	/**餐盒费*/
	@Excel(name = "餐盒费", width = 15)
    @ApiModelProperty(value = "餐盒费")
	private Long packageBill;
	/**市场费结算状态0 未计费、1计费未结算、2 已结算,3 无市场费*/
	@Excel(name = "市场费结算状态0 未计费、1计费未结算、2 已结算,3 无市场费", width = 15)
    @ApiModelProperty(value = "市场费结算状态0 未计费、1计费未结算、2 已结算,3 无市场费")
	private Integer marketSettlementStatus;
	/**市场费*/
	@Excel(name = "市场费", width = 15)
    @ApiModelProperty(value = "市场费")
	private Long marketBill;
	/**营销服务费用*/
	@Excel(name = "营销服务费用", width = 15)
    @ApiModelProperty(value = "营销服务费用")
	private Long marketingServiceFee;
	/**营销服务费用状态*/
	@Excel(name = "营销服务费用状态", width = 15)
    @ApiModelProperty(value = "营销服务费用状态")
	private Integer marketingServiceFeeStatus;
	/**对账单类型，5006 货款对账单 5008 市场费对账单*/
	@Excel(name = "对账单类型，5006 货款对账单 5008 市场费对账单", width = 15)
    @ApiModelProperty(value = "对账单类型，5006 货款对账单 5008 市场费对账单")
	private Integer billOrderType;
	/**giftcardBill*/
	@Excel(name = "giftcardBill", width = 15)
    @ApiModelProperty(value = "giftcardBill")
	private Long giftcardBill;
	/**giftcardBillStatus*/
	@Excel(name = "giftcardBillStatus", width = 15)
    @ApiModelProperty(value = "giftcardBillStatus")
	private Integer giftcardBillStatus;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
}
